// 统一请求路径前缀在libs/axios.js中修改
import {getRequest, postRequest, putRequest, deleteRequest, uploadFileRequest} from '@/libs/axios';

// 课程分类-tree数据
export const selectTreeData = (params) => {
    return postRequest('/base/examtype/selectTreeData', params);
}
// 课程分类-添加
export const addExamType = (params) => {
    return postRequest('/base/examtype/add', params)
}
// 课程分类-修改
export const editExamType = (params) => {
    return postRequest('/base/examtype/edit', params)
}
// 课程分类-删除
export const delExamType = (examTypeId) => {
    return postRequest(`/base/examtype/delById/${examTypeId}`)
}
